package com.rick.new310;

/**
 * @author xjli2
 * @Classname MEnum
 * @Description TODO
 * @Date 2022/3/10 15:27
 */
public class MEnum {

    public static void main(String[] args) {
        System.out.println(" [");
        for (ErrorCodeEnum value : ErrorCodeEnum.values()) {
            System.out.println("{\"" + value.name()+"\":"+value.toString()+"},");
        }
        System.out.println("]");
    }
}
